SpringBoot官方文档翻译(二十八):生产环境打包

21. Packaging Your Application for Production(生产环境打包)

1
2
Executable jars can be used for production deployment. As they     
are self-contained, they are also ideally suited for cloud-based deployment.

可运行的jars包能够被用于生成环境部署。由于它们是独立的,它们也非常适合基于云的部署。

1
2
3
For additional “production ready” features, such as health, auditing,     
and metric REST or JMX end-points, consider adding spring-boot-actuator.
See Part V, “Spring Boot Actuator: Production-ready features” for details.

对于其他的“生产就绪”的功能,诸如健康检测,审计,REST风格埋点或者JMX的断点,考虑引入spring-boot-actuator。参照第五部分,“Spring Boot Actuator: Production-ready features”获取更多的细节。

22. What to Read Next(接下去读什么)

1
2
3
4
You should now understand how you can use Spring Boot and some best     
practices that you should follow. You can now go on to learn about
specific Spring Boot featuresin depth, or you could skip ahead and
read about the “production ready” aspects of Spring Boot.

目前您已经知道如何使用Spring Boot和一些您需要遵守的最佳实践。您可以继续学习Spring Boo的一些特殊的特性。或者您也可以越过这些去切入阅读Spring Boot的“生产准备”。

分享到